numbers = [1,2,3,4,5]
square = proc{|n| puts n**2}
squared_numbers = numbers.map(&square)